package com.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wty
 * @since 2021-10-26
 */
@Data
@Accessors(chain = true)
@TableName("hint_code")
public class HintCode extends Model<HintCode> {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String code;
    private String name;
    private String time;
    @TableField("ts_price")
    private BigDecimal tsPrice;
    private String status;
    private BigDecimal zf5;
    private BigDecimal zf10;
    private BigDecimal zf20;
    private BigDecimal zf;
    @TableField("d_high_price")
    private BigDecimal dHighPrice;
    private BigDecimal zf2;
    private String type;
    @TableField(exist = false)
    private String tbType;
    @TableField(exist = false)
    private String maxBack;

    @TableField(exist = false)
    private String srcf;
    @TableField(exist = false)
    private String src5;
    @TableField(exist = false)
    private String srcr;
    @TableField(exist = false)
    private String srcz;
    @TableField(exist = false)
    private String srcy;

    @TableField(exist = false)
    private String zyzf;


    @TableField(exist = false)
    private String gd;
    @TableField(exist = false)
    private String hintNum;
    @TableField(exist = false)
    private String hintNumStr;
    @TableField(exist = false)
    private String hy;

    @TableField(exist = false)
    private String zyback;

    private String sign;

    @TableField(exist = false)
    private String zyPrice;

    @TableField(exist = false)
    private String unListStr;

    @TableField(exist = false)
    private String jjType;

    @TableField(exist = false)
    private Integer keepNum;

    @TableField(exist = false)
    private Integer maxNum;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
